package com.makefuture.config;

import com.jfinal.config.Constants;
import com.jfinal.config.Handlers;
import com.jfinal.config.Interceptors;
import com.jfinal.config.JFinalConfig;
import com.jfinal.config.Plugins;
import com.jfinal.config.Routes;
import com.jfinal.template.Engine;
import com.makefuture.echarts.AccessController;
import com.makefuture.echarts.Barcontroller;
import com.makefuture.echarts.FunnelController;
import com.makefuture.echarts.GaugeController;
import com.makefuture.echarts.HeatmapController;
import com.makefuture.echarts.LineController;
import com.makefuture.echarts.MapController;
import com.makefuture.echarts.PieController;
import com.makefuture.echarts.ScatterController;
import com.makefuture.echarts.TreemapController;

public class Config extends JFinalConfig{

	public void configConstant(Constants me) {
		
	}

	@Override
	public void configRoute(Routes me) {
		me.add("/bar",Barcontroller.class,"");//条形 柱形图
		me.add("/funnel",FunnelController.class,"");//漏斗图
		me.add("/gauge",GaugeController.class,"");//仪表盘
		me.add("/heatmap",HeatmapController.class,"");//热点图
		me.add("/line",LineController.class,"");//折线图
		me.add("/map",MapController.class,"");//有问题 报错
		me.add("/access",AccessController.class,"");//模拟从数据库读数据并显示
		me.add("/pie",PieController.class,"");//饼状图
		me.add("/scatter",ScatterController.class,"");//散点图
		me.add("/tree",TreemapController.class,"");//矩形树图
	}

	@Override
	public void configEngine(Engine me) {
	}

	@Override
	public void configPlugin(Plugins me) {
		
	}

	@Override
	public void configInterceptor(Interceptors me) {
		
	}

	@Override
	public void configHandler(Handlers me) {
		
	}
	
	public static void main(String[] args) {
		
	}
}
